home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
COMVEC.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-08-09
|
474b
|
20 lines
name comvec
include pmacros.h
; combios - call INT14 routine (COMBIOS, MBBIOS, FOSSIL)
; called from C as follows
; unsigned int combios(ax,dx)
; unsigned int ax; /* ax value for call */
; unsigned int dx; /* dx value for call */
; returns the returned ax value
procdef combios,<<axval,word>,<dxval,word>>
mov ax,axval
mov dx,dxval
mov bx,ax ; avoid trouble with FOSSIL function 04h
int 14h ; perform INT14 function
pret
pend combios
end